package org.ax.pojo.device;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.ax.pojo.employ.Employee;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;


@Data //设备列检表
public class DeviceCheck  implements Serializable {

	private static final long serialVersionUID =  8715031187774113461L;
	@TableId
	private String deviceCheckId;

	private String deviceId;
	@TableField(exist = false)
	private Device device;
	@TableField(exist = false)
	private Employee employee;
	private String deviceCheckEmpId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private java.time.LocalDateTime deviceCheckDate;

	private String deviceCheckResult;

	private String deviceCheckFaultId;


}
